home *** CD-ROM | disk | FTP | other *** search
/ El Mac 1 / Magazine.iso / EL MAC 1 / Shareware / Applications / directtex Pro 2.0 / DirectTeX.6 / Installer-Files / Tools-Pro / Tools-Pro folder / ProjectMenu < prev    next >
Encoding:
Text File  |  1995-03-27  |  720 b   |  17 lines  |  [TEXT/TeX+]

  1. #
  2. # This script will add the project menu.
  3. # Usage: ProjectMenu.
  4. #
  5. # To use it, simply put aliases to all your project files, wherever they are,
  6. # or the project files themselves into the folder $dt_TeXLocal∂Projects:.
  7. #
  8.  
  9. Exit 0 If $# ≠ 0
  10. If $dt_ProjectMenuID = "" [AddItem -m 1 "(-" ""; Set -x dt_ProjectMenuID "`AddMenu -b 1 -h -v Projects ≥ Dev:Null`"
  11.  
  12. DeleteItem $dt_ProjectMenuID
  13. AddItem -m $dt_ProjectMenuID "Update Menu" [ProjectMenu
  14. AddItem -m $dt_ProjectMenuID "(-" ""
  15. AddItem -m $dt_ProjectMenuID "All Projects" [For i `Files -s $dt_TeXLocal∂Projects` [ProjectMgr -o $dt_TeXLocal∂Projects:$i
  16. For i `Files -s $dt_TeXLocal∂Projects` [AddItem -n -m $dt_ProjectMenuID $i ProjectMgr∂ -o∂ $$dt_TeXLocal∂Projects:$$i
  17.